package com.gobo.statisticsservice.clients;

import com.gobo.commonutils.R;
import com.gobo.servicebase.vo.MemberInfoVo;
import com.gobo.statisticsservice.clients.degradeimpl.UcenterMemberClientImpl;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.stereotype.Component;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.PostMapping;

@FeignClient(name = "service-ucenter",fallback = UcenterMemberClientImpl.class)
@Component
public interface UcenterMemberClient {

    @PostMapping("/ucenterservice/member/countregister/{day}")
    public R registerCount(@PathVariable("day") String day);

}
